import request from '@/utils/request'

// 查询签名人列表
export function listSignatory() {
  return request({
    url: '/qep/certificate/signatories',
    method: 'get'
  })
}

// 查询签名人详细
export function getSignatory(id) {
  return request({
    url: '/qep/certificate/signatory/' + id,
    method: 'get'
  })
}

// 新增签名人
export function addSignatory(data) {
  return request({
    url: '/qep/certificate/signatory',
    method: 'post',
    data: data
  })
}

// 修改签名人
export function updateSignatory(data) {
  return request({
    url: '/qep/certificate/signatory',
    method: 'put',
    data: data
  })
}

// 删除签名人
export function delSignatory(id) {
  return request({
    url: '/qep/certificate/signatory/' + id,
    method: 'delete'
  })
} 